<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GraphPaths: Riferimenti per la classe Grafo</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GraphPaths
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Creazione di grafi e calcolo dei percorsi minimi</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classi</span></a></li>
      <li><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Elenco&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="classes.html"><span>Indice&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="hierarchy.html"><span>Gerarchia&#160;delle&#160;classi</span></a></li>
      <li><a href="functions.html"><span>Membri&#160;dei&#160;composti</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Ridefinizioni di tipo (typedef)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Membri pubblici</a> &#124;
<a href="classGrafo-members.html">Elenco di tutti i membri</a>  </div>
  <div class="headertitle">
<div class="title">Riferimenti per la classe Grafo</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="grafo_8h_source.html">grafo.h</a>&gt;</code></p>
<div class="dynheader">
Diagramma delle classi per Grafo</div>
<div class="dyncontent">
 <div class="center">
  <img src="classGrafo.png" usemap="#Grafo_map" alt=""/>
  <map id="Grafo_map" name="Grafo_map">
<area href="classElemento__ui.html" alt="Elemento_ui" shape="rect" coords="0,0,80,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Membri pubblici</h2></td></tr>
<tr class="memitem:ab810bbe26a98e9af6661ccddff66b03b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#ab810bbe26a98e9af6661ccddff66b03b">Grafo</a> ()</td></tr>
<tr class="separator:ab810bbe26a98e9af6661ccddff66b03b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16f3fbba0de2667dfba3b657cb7e95ff"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a16f3fbba0de2667dfba3b657cb7e95ff">~Grafo</a> ()</td></tr>
<tr class="separator:a16f3fbba0de2667dfba3b657cb7e95ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac31f7a28e82911f45345a7b94ce1a940"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#ac31f7a28e82911f45345a7b94ce1a940">inizializza</a> ()</td></tr>
<tr class="separator:ac31f7a28e82911f45345a7b94ce1a940"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a976e38caded8dde5cc4c94de10a633b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classElemento__ui.html">Elemento_ui</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a976e38caded8dde5cc4c94de10a633b6">find_by_xy</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:a976e38caded8dde5cc4c94de10a633b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad44c2ea9dab5e8bc09eceed770f9733c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#ad44c2ea9dab5e8bc09eceed770f9733c">seleziona</a> (<a class="el" href="classNodo.html">Nodo</a> *nodo)</td></tr>
<tr class="separator:ad44c2ea9dab5e8bc09eceed770f9733c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7f62e236f8ac3eba22bc08f80386861"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#af7f62e236f8ac3eba22bc08f80386861">seleziona</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:af7f62e236f8ac3eba22bc08f80386861"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f78a58fa7b8a82d6b52a56bc3d2ef1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNodo.html">Nodo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a1f78a58fa7b8a82d6b52a56bc3d2ef1a">get_selezionato</a> ()</td></tr>
<tr class="separator:a1f78a58fa7b8a82d6b52a56bc3d2ef1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77fdc063328505726fc29841e4721ca3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNodo.html">Nodo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a77fdc063328505726fc29841e4721ca3">aggiungi_nodo</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:a77fdc063328505726fc29841e4721ca3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd2fa28fdb9ec7f1148403e4877af919"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#abd2fa28fdb9ec7f1148403e4877af919">aggiungi_arco</a> (<a class="el" href="classNodo.html">Nodo</a> *destinazione)</td></tr>
<tr class="separator:abd2fa28fdb9ec7f1148403e4877af919"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b35c9fa2a15326bb8972737f33e4ea2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a3b35c9fa2a15326bb8972737f33e4ea2">lmb_premuto</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:a3b35c9fa2a15326bb8972737f33e4ea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af40156bf9b8340c8f3a13cc03896a187"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#af40156bf9b8340c8f3a13cc03896a187">lmb_rilasciato</a> ()</td></tr>
<tr class="separator:af40156bf9b8340c8f3a13cc03896a187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747893c987956fd9374dd9de285dbb8e"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a747893c987956fd9374dd9de285dbb8e">is_dragging</a> ()</td></tr>
<tr class="separator:a747893c987956fd9374dd9de285dbb8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5146338fc22682bfb5446e2b591e03"><td class="memItemLeft" align="right" valign="top">GSList *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a2d5146338fc22682bfb5446e2b591e03">get_nodi</a> ()</td></tr>
<tr class="separator:a2d5146338fc22682bfb5446e2b591e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80e182cbee0ee8020fdd8dbfb0faf81e"><td class="memItemLeft" align="right" valign="top">GSList *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a80e182cbee0ee8020fdd8dbfb0faf81e">get_archi</a> ()</td></tr>
<tr class="separator:a80e182cbee0ee8020fdd8dbfb0faf81e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c6e21b608bcb99773704d63f3de1b0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a8c6e21b608bcb99773704d63f3de1b0b">prepara</a> ()</td></tr>
<tr class="separator:a8c6e21b608bcb99773704d63f3de1b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f192cdd5e5d7c9c5dfd897982e87269"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a9f192cdd5e5d7c9c5dfd897982e87269">get_numero_nodi</a> ()</td></tr>
<tr class="separator:a9f192cdd5e5d7c9c5dfd897982e87269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a710fce069f3ed7adb367545b44bb52ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a710fce069f3ed7adb367545b44bb52ed">salva</a> (const char *file)</td></tr>
<tr class="separator:a710fce069f3ed7adb367545b44bb52ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4b1d732219e279c7f8e5c3246e4bb8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#afb4b1d732219e279c7f8e5c3246e4bb8">carica</a> (const char *file)</td></tr>
<tr class="separator:afb4b1d732219e279c7f8e5c3246e4bb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a773bb49b6c23d2d0142e00f1b8cb9bbd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a773bb49b6c23d2d0142e00f1b8cb9bbd">draw</a> (cairo_t *&amp;cr)</td></tr>
<tr class="separator:a773bb49b6c23d2d0142e00f1b8cb9bbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50a425cde87198ce6229e89b7675fe06"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrafo.html#a50a425cde87198ce6229e89b7675fe06">update</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:a50a425cde87198ce6229e89b7675fe06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classElemento__ui"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classElemento__ui')"><img src="closed.png" alt="-"/>&#160;Membri pubblici ereditati da <a class="el" href="classElemento__ui.html">Elemento_ui</a></td></tr>
<tr class="memitem:aaec9a3dfd4af974ceed44115f966e63a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#aaec9a3dfd4af974ceed44115f966e63a">Elemento_ui</a> ()</td></tr>
<tr class="separator:aaec9a3dfd4af974ceed44115f966e63a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23841e472885f03089e288140d329288 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a23841e472885f03089e288140d329288">~Elemento_ui</a> ()</td></tr>
<tr class="separator:a23841e472885f03089e288140d329288 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47faa830e415ba29e719a9ab83593928 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a47faa830e415ba29e719a9ab83593928">get_x</a> ()</td></tr>
<tr class="separator:a47faa830e415ba29e719a9ab83593928 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721c1ebab284aab5b19ccefcc50cba5a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a721c1ebab284aab5b19ccefcc50cba5a">set_x</a> (gdouble val)</td></tr>
<tr class="separator:a721c1ebab284aab5b19ccefcc50cba5a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1ed990dca773d10b4c1770b9ed4cc73 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#af1ed990dca773d10b4c1770b9ed4cc73">get_y</a> ()</td></tr>
<tr class="separator:af1ed990dca773d10b4c1770b9ed4cc73 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a6257bea44d7719c3b36e71f9078650 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a1a6257bea44d7719c3b36e71f9078650">set_y</a> (gdouble val)</td></tr>
<tr class="separator:a1a6257bea44d7719c3b36e71f9078650 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadb31650bf503a9e11cad83d9c09fad5 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#aadb31650bf503a9e11cad83d9c09fad5">is_selected</a> ()</td></tr>
<tr class="separator:aadb31650bf503a9e11cad83d9c09fad5 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0000045a9fecb99f47f0682332d4ad6a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a0000045a9fecb99f47f0682332d4ad6a">set_selected</a> (gboolean val)</td></tr>
<tr class="separator:a0000045a9fecb99f47f0682332d4ad6a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37efc2ee23d6d16e051f3f96c2c5320e inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a37efc2ee23d6d16e051f3f96c2c5320e">is_over</a> ()</td></tr>
<tr class="separator:a37efc2ee23d6d16e051f3f96c2c5320e inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e4690bef88aeb0049c67d430a27ac95 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a6e4690bef88aeb0049c67d430a27ac95">set_over</a> (gboolean val)</td></tr>
<tr class="separator:a6e4690bef88aeb0049c67d430a27ac95 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8a6ec54c1bf7c51c7c8ac62c38f054a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#ae8a6ec54c1bf7c51c7c8ac62c38f054a">set_over</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:ae8a6ec54c1bf7c51c7c8ac62c38f054a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf413d6539ec824c441cfe140a2335b5 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">virtual gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#abf413d6539ec824c441cfe140a2335b5">intersect</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:abf413d6539ec824c441cfe140a2335b5 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Altri membri ereditati</h2></td></tr>
<tr class="inherit_header pro_attribs_classElemento__ui"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classElemento__ui')"><img src="closed.png" alt="-"/>&#160;Attributi protetti ereditati da <a class="el" href="classElemento__ui.html">Elemento_ui</a></td></tr>
<tr class="memitem:a65ba6be564ea56bcf8ab14322794db54 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a></td></tr>
<tr class="memdesc:a65ba6be564ea56bcf8ab14322794db54 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata X dell'oggetto.  <a href="#a65ba6be564ea56bcf8ab14322794db54">Continua...</a><br/></td></tr>
<tr class="separator:a65ba6be564ea56bcf8ab14322794db54 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36749900d4a5b1e4d8db239691a531f8 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a></td></tr>
<tr class="memdesc:a36749900d4a5b1e4d8db239691a531f8 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata Y dell'oggetto.  <a href="#a36749900d4a5b1e4d8db239691a531f8">Continua...</a><br/></td></tr>
<tr class="separator:a36749900d4a5b1e4d8db239691a531f8 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a509f8e3b1b642946ca3180d75e490556 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a509f8e3b1b642946ca3180d75e490556">selected</a></td></tr>
<tr class="memdesc:a509f8e3b1b642946ca3180d75e490556 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se l'oggetto è stato selezionato.  <a href="#a509f8e3b1b642946ca3180d75e490556">Continua...</a><br/></td></tr>
<tr class="separator:a509f8e3b1b642946ca3180d75e490556 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a046b1967d7193a4632e7347886c33471 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a046b1967d7193a4632e7347886c33471">over</a></td></tr>
<tr class="memdesc:a046b1967d7193a4632e7347886c33471 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se il mouse si trova sopra all'oggetto.  <a href="#a046b1967d7193a4632e7347886c33471">Continua...</a><br/></td></tr>
<tr class="separator:a046b1967d7193a4632e7347886c33471 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Documentazione dei costruttori e dei distruttori</h2>
<a class="anchor" id="ab810bbe26a98e9af6661ccddff66b03b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Grafo::Grafo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Default constructor </p>

</div>
</div>
<a class="anchor" id="a16f3fbba0de2667dfba3b657cb7e95ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Grafo::~Grafo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Default destructor </p>

</div>
</div>
<h2 class="groupheader">Documentazione delle funzioni membro</h2>
<a class="anchor" id="abd2fa28fdb9ec7f1148403e4877af919"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::aggiungi_arco </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classNodo.html">Nodo</a> *&#160;</td>
          <td class="paramname"><em>destinazione</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Aggiunge un arco tra due nodi esistenti. L'arco di origine è sempre il nodo correntemente selezionato, mentre il nodo di destinazione può variare. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">destinazione</td><td><a class="el" href="classNodo.html">Nodo</a> di destinazione </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a77fdc063328505726fc29841e4721ca3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNodo.html">Nodo</a> * Grafo::aggiungi_nodo </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Aggiunge un nodo al grafo </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>coordinata X alla quale crearlo </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>coordinata Y alla quale crearlo </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>Il nodo appena creato e aggiunto alla lista </dd></dl>

</div>
</div>
<a class="anchor" id="afb4b1d732219e279c7f8e5c3246e4bb8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::carica </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Carica il grafo da un file. L'eventuale contenuto corrente del grafo viene scartato. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>Nome del file dal quale caricare il contenuto del grafo. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a773bb49b6c23d2d0142e00f1b8cb9bbd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::draw </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&amp;&#160;</td>
          <td class="paramname"><em>cr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Disegna l'oggetto. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cr</td><td>puntatore all'oggetto Cairo </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplementa <a class="el" href="classElemento__ui.html#a2368ed35b0f4727b2091bd9b4457a845">Elemento_ui</a>.</p>

</div>
</div>
<a class="anchor" id="a976e38caded8dde5cc4c94de10a633b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classElemento__ui.html">Elemento_ui</a> * Grafo::find_by_xy </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Trova il nodo posto alle coordinate indicate. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Coordinata X del punto </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Coordinata Y del punto </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>Elemento grafico alle coordinate selezionate, NULL se nessun elemento giace al loro interno. </dd></dl>

</div>
</div>
<a class="anchor" id="a80e182cbee0ee8020fdd8dbfb0faf81e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GSList* Grafo::get_archi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce la lista di adiacenze </p>
<dl class="section return"><dt>Restituisce</dt><dd>Lista di <a class="el" href="classArco.html">Arco</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2d5146338fc22682bfb5446e2b591e03"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GSList* Grafo::get_nodi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce la lista dei nodi </p>
<dl class="section return"><dt>Restituisce</dt><dd>Lista di <a class="el" href="classNodo.html">Nodo</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9f192cdd5e5d7c9c5dfd897982e87269"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Grafo::get_numero_nodi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Restituisce il numero di nodi presenti nel grafo </p>
<dl class="section return"><dt>Restituisce</dt><dd>Numero di nodi presenti nel grafo </dd></dl>

</div>
</div>
<a class="anchor" id="a1f78a58fa7b8a82d6b52a56bc3d2ef1a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNodo.html">Nodo</a> * Grafo::get_selezionato </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Cerca e restituisce il nodo selezionato. </p>
<dl class="section return"><dt>Restituisce</dt><dd>Il nodo correntemente in stato selezionato. </dd></dl>

</div>
</div>
<a class="anchor" id="ac31f7a28e82911f45345a7b94ce1a940"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::inizializza </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inizializza il grafo. Il grafo corrente viene eliminato, portando il grafo ad una situazione vuota. L'indice corrente viene re-inizializzato a 0. </p>

</div>
</div>
<a class="anchor" id="a747893c987956fd9374dd9de285dbb8e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gboolean Grafo::is_dragging </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calcola se siamo durante un'operazione di trascinamento del mouse. </p>
<dl class="section return"><dt>Restituisce</dt><dd>TRUE se si sta trascinando il mouse con il pulsante sinistro premuto, FALSE altrimenti </dd></dl>

</div>
</div>
<a class="anchor" id="a3b35c9fa2a15326bb8972737f33e4ea2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::lmb_premuto </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Segnala all'oggetto corrente la pressione del pulsante sinistro del mouse. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Coordinata X in cui è stato premuto il pulsante del mouse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Coordinata Y in cui è stato premuto il pulsante del mouse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af40156bf9b8340c8f3a13cc03896a187"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::lmb_rilasciato </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>segnala all'oggetto il rilascio del pulsante sinistro del mouse. </p>

</div>
</div>
<a class="anchor" id="a8c6e21b608bcb99773704d63f3de1b0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::prepara </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Prepara i nodi all'esecuzione degli algoritmi di Djkstra o <a class="el" href="classBellmanFord.html">BellmanFord</a>. Imposta tutte le distanze a infinito e elimina tutti i percorsi. </p>

</div>
</div>
<a class="anchor" id="a710fce069f3ed7adb367545b44bb52ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::salva </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Salva il grafo su un file. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>Nome del file sul quale scrivere il contenuto del grafo. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad44c2ea9dab5e8bc09eceed770f9733c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::seleziona </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classNodo.html">Nodo</a> *&#160;</td>
          <td class="paramname"><em>nodo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Seleziona il nodo </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nodo</td><td><a class="el" href="classNodo.html">Nodo</a> da selezionare </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af7f62e236f8ac3eba22bc08f80386861"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::seleziona </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Seleziona il nodo presente alle coordinate specificate. Se le coordinate specificate corrispondono ad un nodo esistente, questo diviene la selezione corrente, altrimenti la selezione rimane inalterata. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Coordinata X </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Coordinata Y </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a50a425cde87198ce6229e89b7675fe06"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Grafo::update </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Aggiorna lo stato dell'oggetto. Questa funzione viene chiamata ad ogni evento del mouse, in modo che ogni oggetto possa aggiornarsi. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>La coordinata X corrente del mouse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>La coordinata Y corrente del mouse </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplementa <a class="el" href="classElemento__ui.html#ab69c7898cd232b414595b3c8d7a4dfc9">Elemento_ui</a>.</p>

</div>
</div>
<hr/>La documentazione per questa classe è stata generata a partire dai seguenti file:<ul>
<li>src/<a class="el" href="grafo_8h_source.html">grafo.h</a></li>
<li>src/<a class="el" href="grafo_8cc.html">grafo.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 1 Lug 2014 08:40:17 per GraphPaths da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
